package com.atguigu.yygh.hosp.service;

import com.atguigu.yygh.model.hosp.Department;
import com.atguigu.yygh.vo.hosp.DepartmentQueryVo;

import org.springframework.data.domain.Page;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
@Service
public interface DepartmentService {

    /**添加科室信息**/
    void save(Map<String, Object> paramMap);

    /**查询科室**/
    Page<Department> findPageDepartment(int page, int limit, DepartmentQueryVo departmentQueryVo);

    /**删除科室接口**/
    void remove(String hoscode, String depcode);

    /**根据医院编号查询**/
    List findDeptTree(String hoscode);

    /**根据科室编号 和医院编号 查询科室名称**/
    String getDepName(String hoscode, String depcode);
}
